#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>

float add(float a, float b, float c, float d, float e)
{
    return a + b + c + d + e;
}
int main()
{
    float a = 0;
    float b = 0;
    float c = 0;
    float d = 0;
    float e = 0;
    float f = 0;

    while (scanf("%f %f %f %f %f", &a, &b, &c, &d, &e) != EOF);
    {
  f = add(a, b, c, d, e);
    printf("%5.2f %5.2f %5.2f %5.2f %5.2f %5.2f\n", a, b, c, d, e, f);
    }
  
    return 0;

}